// 所有接口

// 登录页
// Mock.mock(前端API接口名，请求类型，返回值)
import Mock from 'mockjs'
import vipmock from './vipmock'
import findpwdMock from './findpwdMock'
import loginMock from './loginMock'
import UserMock from './userMock'
import drugMock from './drugMock'
import applyMock from './applyMock'
import workMock from './workspace'
import registerMock from './registerMock'
import chargeMock from './chargeMock'
import Management from './Management'
Mock.mock(/\/getVipData/, 'get', vipmock.getVipData)
Mock.mock(/\/delVIP/, 'post', vipmock.delVipData)
Mock.mock(/\/delbatchVIP/, 'post', vipmock.delbatchVipData)
Mock.mock(/\/addVIP/, 'post', vipmock.addVIP)
Mock.mock(/\/editVIP/, 'post', vipmock.editVIP)
Mock.mock(/\/searchDate/, 'post', vipmock.searchDate)
Mock.mock(/\/loginApi/, 'post', loginMock.loginData)

// 药品零售
Mock.mock(/\/getDrugMock/, 'get', drugMock.getDrugData)
Mock.mock(/\/removeDrug/, 'post', drugMock.removeDrugData)
Mock.mock(/\/creaseDrug/, 'post', drugMock.creaseDrugData)
Mock.mock(/\/creasePhang/, 'get', drugMock.creasePhangData)
Mock.mock(/\/getUserBase/, 'post', UserMock.getUserBaseData)
Mock.mock(/\/registerData/, 'post', registerMock.loginData)
Mock.mock(/\/managementData/, 'post', Management.managementMockData)
Mock.mock(/\/getChargeDate/, 'get', chargeMock.getChargeData)
Mock.mock(/\/addDrug/, 'post', drugMock.addDrugData)
//工作台
Mock.mock(/\/getWorkData/, 'get', workMock.getWorkData)
// apply试用页面
Mock.mock(/\/applyApi/, 'post', applyMock.applyData)
Mock.mock(/\/applyCheckCode/, 'post', applyMock.applyCheckData)

Mock.mock(/\/setState/, 'post', workMock.setWorkState)
Mock.mock(/\/getOneName/, 'post', workMock.getOneName)
//找回密码
Mock.mock(/\/findpwdApi/, 'post', findpwdMock.findpwdDate)
